package com.tencreat.domain.mall.dto;

import com.tencreat.common.enums.OrderType;
import com.tencreat.common.enums.PayType;
import com.tencreat.common.enums.account.PayCompanyEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("提交充值订单对象")
public class RechargeOrderDTO {
    @Min(0)
    @NotNull(message = "交易金额不能为空")
    @ApiModelProperty("交易金额")
    private BigDecimal tradeAmount;

    @ApiModelProperty("备注")
    private String remarks;

    @NotNull(message = "订单类型不能为空")
    @ApiModelProperty(value = "订单类型")
    private OrderType orderType;

    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty("支付方式")
    private PayType payType;

    @ApiModelProperty("公司")
    private PayCompanyEnum company;

    @ApiModelProperty("第三方银行卡绑定ID")
    private String bandCartId;
    @ApiModelProperty("验证码")
    private String kaptchaCode;

    @ApiModelProperty("提货单金额")
    private BigDecimal goodsRoll;

    @ApiModelProperty("消费券单金额")
    private BigDecimal consumerRoll;

    @ApiModelProperty(value = "微信支付相关参数  微信app支付：APP   |微信H5支付： WEB")
    private String tradeType;



}
